import request from '@/utils/request';

export async function query() {
  return request.get('/api/users');
}
export async function queryCurrent() {
  return request.get('/api/user/get/current/user');
}
export async function queryNotices() {
  return request.get('/api/notices');
}

// 获取菜单
export async function queryMenuData(data) {
  return request.get('/api/menu/current', data);
}

// 获取菜单权限
export async function queryMenuRoleList(data) {
  return request.get('/api/menu/role/list', data);
}


// App应用列表
export async function queryAppList(data = {}) {
  return request.get('/api/app/all', data);
}